<%@ page language="java" pageEncoding="UTF-8"%>  
<%@ taglib prefix = "spring" uri="http://www.springframework.org/tags" %>
<%  
String path = request.getContextPath();  
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";  
%>  
<!DOCTYPE html>  
<html>  
<head>  
<base href="<%=basePath%>">  
</head>  
<body>  
  <h1><spring:message code="sysmanage.loginJsp.title" /></h1>
  <form action="<%=path%>/login.do" method = "post">
  		<spring:message code="sysmanage.loginJsp.userName" />: <input type = "text" name = "loginName"><br><br> 		
  		<spring:message code="sysmanage.loginJsp.password" />: <input type = "password" name = "password"><br><br> 		
  		<input type = "submit" value = "<spring:message code="sysmanage.loginJsp.loginBtn" />">
  			 &nbsp;&nbsp;&nbsp;&nbsp;<spring:message code="${loginFlag}" />
  
  </form>
  
  <h2>
  	<a href = "<%=path%>/gotoLogin?locale=zh_CN">中文</a>
  	<a href = "<%=path%>/gotoLogin?locale=en_US">English</a>
  </h2>
</body>   
</html>  